package com.jmp.api.crm.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class UserMenuInfoResponse {
    private String userName;
    private List<Menu> permissions;

    @Data
    @Builder
    public static class Menu {
        private boolean checkAll;
        private Integer menuId;
        private String name;
        private String desc;
        private List<Integer> userpermissions;
        private List<Menu> permissions;
    }
}
